package main

import "fmt"

func main() {
	var a uint = 60
	var b uint = 13
	var c uint = 0
	fmt.Printf("a: %d, %b\n", a, a)
	fmt.Printf("b: %d, %b\n", b, b)

	c = a & b
	fmt.Printf("a & b: %d, %b\n", c, c)
	c = a | b
	fmt.Printf("a | b: %d, %b\n", c, c)
	c = a ^ b
	fmt.Printf("a ^ b: %d, %b\n", c, c)
	c = a &^ b
	fmt.Printf("a &^ b: %d, %b\n", c, c)
	c = a << 2
	fmt.Printf("a << 2: %d, %b\n", c, c)
	a = 60
	c = a >> 2
	fmt.Printf("a >> 2: %d, %b\n", c, c)
}
